%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Macrodata for skill bias estimation
% source: BLS nonfarm business data for productivity, hours and output
% Board of governors for the interest rate
% consumption is real personal consumption expenditures from NIPA
% quarterly data for 1979:1-2006:2
% this version: October 2011
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% order of variables:
% 1: year  2: quarter
% 3: total hours  4: productivity (output per hour)  5: per capita hours
% in levels: 6: total hours 7: output 8: productivity 
% 9: interest rate  10: consumption 11: per capita hours

macro_data = [...
1979	1	0.00708515	-0.009524174	-0.004578555	85.976	69.628	80.985	9.383333333	42.637	0.000525025
1979	2	0.004039472	-0.002769777	-0.004796827	86.324	69.716	80.761	9.376666667	42.612	0.000524935
1979	3	0.008352032	-0.001276182	0.002312464	87.048	70.21	80.658	9.673333333	43.031	0.000526925
1979	4	0.001951041	-0.001215745	-0.000520031	87.218	70.263	80.56	11.84333333	43.146	0.000525236
1980	1	-0.002387677	0.004026144	-0.005281637	87.01	70.378	80.885	13.35333333	43.071	0.000521762
1980	2	-0.01760025	-0.011339315	-0.007500064	85.492	68.371	79.973	9.616666667	42.093	0.000510656
1980	3	-0.004595769	0.003956002	-0.001779616	85.1	68.327	80.29	9.153333333	42.545	0.000506213
1980	4	0.012274535	0.010765113	0.003636433	86.151	69.919	81.159	13.61333333	43.112	0.000510694
1981	1	0.005498431	0.015163107	0.000989617	86.626	71.379	82.399	14.39	43.348	0.000511735
1981	2	0.000346256	-0.013132125	-0.004401748	86.656	70.472	81.324	14.90666667	43.347	0.00051023
1981	3	-0.000334713	0.008814513	-0.003675165	86.627	71.072	82.044	15.05333333	43.523	0.000508336
1981	4	-0.003863063	-0.01281888	0.001245435	86.293	69.897	80.999	11.75	43.194	0.000504667
1982	1	-0.016227276	-0.006564792	-0.008421136	84.904	68.321	80.469	12.81333333	43.473	0.000495076
1982	2	0.003867476	0.002035978	0.005896802	85.233	68.725	80.633	12.42	43.63	0.000495483
1982	3	-0.007111685	0.001685234	7.0456E-05	84.629	68.354	80.769	9.316666667	43.964	0.00049054
1982	4	-0.009080558	0.008580252	-0.000601957	83.864	68.32	81.465	7.906666667	44.765	0.000484634
1983	1	0.00582579	0.012467225	0.003205071	84.354	69.581	82.487	8.106666667	45.204	0.000486176
1983	2	0.011117055	0.02315179	0.001788575	85.297	72.007	84.419	8.396666667	46.102	0.000490334
1983	3	0.019481437	0.009537524	0.006792539	86.975	74.127	85.228	9.14	46.917	0.00049857
1983	4	0.01853371	0.004612241	0.000524619	88.602	75.863	85.622	8.8	47.661	0.000506442
1984	1	0.018994104	-0.001215379	0.003351778	90.301	77.224	85.518	9.17	48.069	0.000514011
1984	2	0.013201367	0.006213264	0.001800283	91.501	78.737	86.051	9.796666667	48.757	0.000519523
1984	3	0.004568732	0.004059106	-0.003414	91.92	79.42	86.401	10.32	49.133	0.000520513
1984	4	0.00658186	0.001122042	-0.000884476	92.527	80.034	86.498	8.803333333	49.78	0.000522362
1985	1	0.00814811	0.001444077	0.000680194	93.284	80.805	86.623	8.183333333	50.624	0.000525479
1985	2	0.006453979	0.002478945	0.000867782	93.888	81.53	86.838	7.46	51.086	0.000527621
1985	3	0.00271232	0.012951533	-0.002087395	94.143	82.817	87.97	7.106666667	52.056	0.000527669
1985	4	0.004705143	0.004695111	-0.001905863	94.587	83.6	88.384	7.166666667	52.17	0.000528593
1986	1	-0.00141769	0.01270408	-0.002162154	94.453	84.548	89.514	6.896666667	52.605	0.00052525
1986	2	-0.002353142	0.007501343	-0.005570607	94.231	84.985	90.188	6.14	53.166	0.000522574
1986	3	0.005038701	0.004204569	-0.002868403	94.707	85.775	90.568	5.523333333	54.095	0.000523718
1986	4	0.007552684	-0.002609178	0.00129493	95.425	86.2	90.332	5.353333333	54.421	0.000526149
1987	1	0.011906825	-0.004838325	0.00489312	96.568	86.811	89.896	5.536666667	54.338	0.00053059
1987	2	0.005699904	0.007337083	-0.001371482	97.12	87.95	90.558	5.656666667	55.066	0.000532086
1987	3	0.0069568	0	-0.000435834	97.798	88.563	90.558	6.043333333	55.68	0.000534369
1987	4	0.010264326	0.00926589	0.001885977	98.807	90.31	91.401	5.863333333	55.814	0.000538555
1988	1	0.000890229	0.002196686	-0.006008354	98.895	90.589	91.602	5.723333333	56.746	0.000537569
1988	2	0.014186771	0.003389372	0.002586204	100.308	92.197	91.913	6.21	57.159	0.000544002
1988	3	0.002737805	0.002868164	-0.001567767	100.583	92.715	92.177	7.01	57.609	0.000544163
1988	4	0.011034213	0.005787272	0.003683467	101.699	94.287	92.712	7.726666667	58.288	0.000548974
1989	1	0.009775172	-0.003868895	0.001610908	102.698	94.846	92.354	8.54	58.502	0.000552814
1989	2	0.003994039	0.002390108	0.001026843	103.109	95.453	92.575	8.41	58.763	0.000553819
1989	3	0.002247519	0.004849147	0.001643797	103.341	96.133	93.025	7.843333333	59.373	0.000553804
1989	4	0.000135465	0.001589706	-0.003809298	103.355	96.299	93.173	7.653333333	59.664	0.000552647
1990	1	0.002319402	0.009219708	-0.003280151	103.595	97.417	94.036	7.76	60.135	0.000549517
1990	2	-0.00522624	0.006613837	-0.005404933	103.055	97.552	94.66	7.746666667	60.334	0.000545507
1990	3	-0.0067082	0.003932675	-0.004153323	102.366	97.282	95.033	7.476666667	60.563	0.000540609
1990	4	-0.00493567	-0.007424927	-0.000741657	101.862	96.086	94.33	6.99	60.091	0.000536494
1991	1	-0.01047068	0.002297793	-0.003325972	100.801	95.304	94.547	6.023333333	59.92	0.000529773
1991	2	-0.006309483	0.014334039	-0.001688048	100.167	96.072	95.912	5.56	60.377	0.000525381
1991	3	-0.001198718	0.007044112	0.001454331	100.047	96.635	96.59	5.376666667	60.608	0.000523475
1991	4	-0.00133026	0.006388084	3.92791E-05	99.914	97.125	97.209	4.54	60.581	0.000521333
1992	1	-0.004775482	0.016335514	0.00059471	99.438	98.254	98.81	3.893333333	61.622	0.000517704
1992	2	0.003944422	0.006707542	0.002591375	99.831	99.307	99.475	3.68	61.988	0.000518584
1992	3	0.00197139	0.009594439	-0.000341366	100.028	100.462	100.434	3.083333333	62.673	0.000518215
1992	4	0.006715514	0.008220297	0.002032647	100.702	101.974	101.263	3.07	63.438	0.000520112
1993	1	0.008543173	-0.0078022	0.000581595	101.566	102.05	100.476	2.96	63.695	0.00052325
1993	2	0.011813839	-0.005929404	0.00372317	102.773	102.652	99.882	2.966666667	64.306	0.000528247
1993	3	0.004688669	0.003857112	-5.3901E-05	103.256	103.532	100.268	3.003333333	65.004	0.000529333
1993	4	0.008246296	0.00740262	0.000731037	104.111	105.166	101.013	3.06	65.582	0.000532208
1994	1	0.003949505	0.006748583	-0.003186315	104.523	106.297	101.697	3.243333333	66.313	0.000533049
1994	2	0.016660569	-0.001180673	0.006748833	106.279	107.955	101.577	3.986666667	66.805	0.0005408
1994	3	0.011990417	-0.006598011	0.000451722	107.561	108.539	100.909	4.476666667	67.34	0.000545856
1994	4	0.006108064	0.00987095	0.000503962	108.22	110.286	101.91	5.28	68.004	0.000547669
1995	1	0.006566822	-0.002770983	-0.002188524	108.933	110.706	101.628	5.736666667	68.084	0.000550495
1995	2	0.000431365	0.001406104	-0.003777843	108.98	110.91	101.771	5.596666667	68.642	0.000549582
1995	3	0.010497107	0.00114898	0.004541546	110.13	112.209	101.888	5.366666667	69.255	0.000553954
1995	4	0.000934821	0.008356554	-0.001829065	110.233	113.257	102.743	5.26	69.742	0.000552957
1996	1	-0.001534293	0.009483519	-0.008480093	110.064	114.161	103.722	4.93	70.38	0.000550937
1996	2	0.008125786	0.010272733	0.001814352	110.962	116.281	104.793	5.02	71.177	0.000554037
1996	3	0.00783677	0.002715956	0.001476923	111.835	117.514	105.078	5.096666667	71.603	0.000556809
1996	4	0.012237596	0.001654543	0.002700328	113.212	119.158	105.252	4.976666667	72.186	0.000561966
1997	1	0.011129233	-0.003349959	0.003519982	114.479	120.089	104.9	5.06	72.913	0.000565619
1997	2	0.005548916	0.012024649	-1.69751E-05	115.116	122.217	106.169	5.046666667	73.208	0.000567535
1997	3	0.00576016	0.008366601	0.001116457	115.781	123.956	107.061	5.046666667	74.453	0.00056932
1997	4	0.004825058	0.004185101	-0.001295873	116.341	125.078	107.51	5.09	75.305	0.000570481
1998	1	0.005716775	0.007838236	0.000432381	117.008	126.785	108.356	5.053333333	76.054	0.00057246
1998	2	0.004179004	0.003040888	-0.002474275	117.498	127.703	108.686	4.976666667	77.362	0.000573427
1998	3	0.001845137	0.010962273	-0.002437956	117.715	129.35	109.884	4.823333333	78.388	0.00057287
1998	4	0.013668215	0.00529157	0.008794817	119.335	131.827	110.467	4.253333333	79.59	0.000579021
1999	1	-1.67597E-05	0.009146309	-0.001706831	119.333	133.034	111.482	4.406666667	80.376	0.000576833
1999	2	0.007388857	0.001729724	0.000829237	120.218	134.254	111.675	4.453333333	81.64	0.000579554
1999	3	0.00682257	0.006880239	0.001362945	121.041	136.106	112.446	4.65	82.622	0.000581805
1999	4	0.00288741	0.017280419	-0.00153028	121.391	138.879	114.406	5.043333333	83.787	0.000581765
2000	1	0.004036623	-0.004336083	-0.002403491	121.882	138.837	113.911	5.52	85.058	0.00057604
2000	2	0.000188689	0.017853733	-0.003314015	121.905	141.364	115.963	5.713333333	85.858	0.000574368
2000	3	0.000213258	-0.002348331	-0.00138505	121.931	141.063	115.691	6.016666667	86.698	0.000572664
2000	4	-0.004339721	0.009822721	-0.003385988	121.403	141.839	116.833	6.016666667	87.465	0.000568473
2001	1	-0.001516763	-0.001344702	-0.004653602	121.219	141.433	116.676	4.816666667	87.814	0.000566177
2001	2	-0.010707264	0.013721466	-0.003911555	119.928	141.86	118.288	3.66	88.145	0.00055849
2001	3	-0.011666415	0.004361165	-0.00397825	118.537	140.828	118.805	3.17	88.533	0.000550255
2001	4	-0.012359145	0.015302543	-0.00265549	117.081	141.243	120.637	1.906666667	89.919	0.000541761
2002	1	-0.008121306	0.016768849	0.001552186	116.134	142.469	122.677	1.723333333	90.229	0.00053601
2002	2	0.00159172	0.001832405	0.002907292	116.319	142.958	122.902	1.716666667	90.688	0.000535529
2002	3	-0.002547969	0.010272358	-0.00160828	116.023	144.067	124.171	1.643333333	91.303	0.000532538
2002	4	0.000620374	-0.000257742	-0.000678606	116.095	144.119	124.139	1.333333333	91.627	0.000531223
2003	1	-0.005285488	0.00832683	-0.003807893	115.483	144.558	125.177	1.156666667	92.1	0.000524663
2003	2	-0.003156957	0.013796715	-0.000281145	115.119	146.104	126.916	1.04	92.956	0.000521434
2003	3	0.001302151	0.024800994	-0.000934909	115.269	149.968	130.103	0.93	94.253	0.000520371
2003	4	0.005390196	-0.001330601	0.002392429	115.892	150.579	129.93	0.916666667	94.773	0.000521388
2004	1	0.004193384	0.002229484	0.001936653	116.379	151.548	130.22	0.916666667	95.676	0.00052339
2004	2	0.000755864	0.011399985	-0.005264236	116.467	153.402	131.713	1.076666667	96.193	0.000522337
2004	3	0.007271702	0.00217661	0.001808458	117.317	154.857	132	1.486666667	97.016	0.000524486
2004	4	0.004838383	0.001680406	-0.000396545	117.886	155.871	132.222	2.006666667	98.132	0.000525297
2005	1	0.000593618	0.008997234	-0.003106505	117.956	157.373	133.417	2.536666667	98.866	0.00052416
2005	2	0.007096063	0.000734269	0.00209532	118.796	158.611	133.515	2.863333333	99.818	0.000526405
2005	3	0.002807597	0.010794245	-0.000173014	119.13	160.783	134.964	3.36	100.528	0.000526141
2005	4	0.005875428	-0.003555408	0.00161686	119.832	161.156	134.485	3.826666667	100.788	0.000527439
2006	1	0.007656375	0.006123164	-0.000656612	120.753	163.391	135.311	4.393333333	101.901	0.000530167
2006	2	0.003942431	0.002008166	0.000399368	121.23	164.367	135.583	4.703333333	102.45	0.000530703 ];